home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1998 June / SGI Freeware 1998 June.iso / dist / fw_UMINNgopher.idb / usr / freeware / src / gopher_1.12 / gopherd / wais.h.z / wais.h
C/C++ Source or Header  |  1997-09-09  |  2KB  |  100 lines

  1. /********************************************************************
  2.  * $Author: drich $
  3.  * $Revision: 1.1 $
  4.  * $Date: 1995/10/03 04:08:44 $
  5.  * $Source: /proj/freeware1.0/gopher1.12/src/gopherd/RCS/wais.h,v $
  6.  * $Status: $
  7.  *
  8.  * Paul Lindner, University of Minnesota CIS.
  9.  *
  10.  * Copyright 1991, 1992 by the Regents of the University of Minnesota
  11.  * see the file "Copyright" in the distribution for conditions of use.
  12.  *********************************************************************
  13.  * MODULE: wais.h
  14.  * Header file for Wais stuff.
  15.  *********************************************************************
  16.  * Revision History:
  17.  * $Log: wais.h,v $
  18.  * Revision 1.1  1995/10/03  04:08:44  drich
  19.  * gopher 1.2 check-in
  20.  *
  21.  * Revision 1.1  1992/12/10  23:13:27  lindner
  22.  * gopher 1.1 release
  23.  *
  24.  *
  25.  *********************************************************************/
  26.  
  27.  
  28.  
  29.  
  30. /* WIDE AREA INFORMATION SERVER SOFTWARE:
  31.    No guarantees or restrictions.  See the readme file for the full standard
  32.    disclaimer.
  33.  
  34.    This is part of the shell user-interface for the WAIS software.  Do with it
  35.    as you please.
  36.  
  37.    jonathan@Think.COM
  38.  
  39.  * $Log: wais.h,v $
  40.  * Revision 1.1  1995/10/03  04:08:44  drich
  41.  * gopher 1.2 check-in
  42.  *
  43.  * Revision 1.1  1992/12/10  23:13:27  lindner
  44.  * gopher 1.1 release
  45.  *
  46.  * Revision 1.6  92/02/15  19:50:24  jonathan
  47.  * Removed old cruft.  Added $Log for RCS
  48.  * 
  49. */
  50.  
  51. #ifndef _H_WAIS
  52. #define _H_WAIS
  53.  
  54. /* usefull definitions */
  55.  
  56. #define STRINGSIZE    256
  57.  
  58. #include <ctype.h>
  59. #include <sys/types.h>
  60. #include <sys/stat.h>
  61.  
  62. /* from the IR directory */
  63.  
  64. #include <cutil.h>
  65. /*#include <irdirent.h>*/
  66. #include <ui.h>
  67. #include <irfileio.h>
  68. #include <sockets.h>
  69. FILE *connect_to_server _AP((char* host_name,long port));
  70.  
  71. /* for this application */
  72.  
  73. #include "../ui/list.h"
  74. #include "source.h"
  75. #include "document.h"
  76. #include "../ui/util.h"
  77. #include "question.h"
  78. #define CHARS_PER_PAGE 2000
  79.  
  80. #ifdef MAIN
  81. #define ext
  82. #else
  83. #define ext extern
  84. #endif
  85.  
  86. ext char* command_name;
  87.  
  88. ext int numtosave;
  89.  
  90. ext int NumQuestions;
  91.  
  92. ext Question the_Question;
  93.  
  94. ext SList Sources;
  95. ext int NumSources;
  96.  
  97. ext int maxDocs;
  98.  
  99. #endif
  100.